package com.jumi.microservice.dto.admin;

import com.jumi.microservice.common.base.dto.BaseResponse;
import io.swagger.annotations.ApiModelProperty;

import java.math.BigDecimal;
import java.util.Date;
import java.util.List;

/**
 * 订单详情
 *
 * @author wangjingdao
 */
public class OrderDetailsResponse  extends BaseResponse {
    @ApiModelProperty("订单编号")
    private String orderNo;
    @ApiModelProperty("支付单号")
    private String payNo;
    @ApiModelProperty("订单状态")
    private byte orderStatus;
    @ApiModelProperty("订单状态")
    private String orderStatusString;
    @ApiModelProperty("运费")
    private BigDecimal freightFee;
    @ApiModelProperty("支付时间")
    private Date payTime;
    @ApiModelProperty("用户名称")
    private String nickName;
    @ApiModelProperty("等级")
    private String level;
    @ApiModelProperty("手机号")
    private String phone;
    @ApiModelProperty("支付类型")
    private String payType;
    @ApiModelProperty("创建时间")
    private Date createTime;
    //收发货信息
    //发票信息
    private List<OrderSnListResponse> orderSnListResponse;
    /**
     *
     */
    @ApiModelProperty("商品信息")
    private List<OrderGoodsDetailsResponse> orderGoodsDetailsResponse;
    @ApiModelProperty("支付金额")
    private BigDecimal payAmount;
    @ApiModelProperty("收件人姓名")
    private String receiverName;
    @ApiModelProperty("收货人手机号")
    private String receiverPhone;
    @ApiModelProperty("收货人地址")
    private String receiverAddress;
    @ApiModelProperty("备注")
    private String remark;
    @ApiModelProperty("完成时间")
    private String confirmTime;
    //发货仓
    //物流单号
    /**
     *
     */
    @ApiModelProperty(value = "有无支付",example = "0")
    private Byte isPay = 0;

    public Byte getIsPay() {
        return isPay;
    }

    public void setIsPay(Byte isPay) {
        this.isPay = isPay;
    }

    public String getConfirmTime() {
        return confirmTime;
    }

    public void setConfirmTime(String confirmTime) {
        this.confirmTime = confirmTime;
    }

    public List<OrderSnListResponse> getOrderSnListResponse() {
        return orderSnListResponse;
    }

    public void setOrderSnListResponse(List<OrderSnListResponse> orderSnListResponse) {
        this.orderSnListResponse = orderSnListResponse;
    }

    public String getLevel() {
        return level;
    }

    public void setLevel(String level) {
        this.level = level;
    }

    public String getOrderStatusString() {
        return orderStatusString;
    }

    public void setOrderStatusString(String orderStatusString) {
        this.orderStatusString = orderStatusString;
    }

    public String getRemark() {
        return remark;
    }

    public void setRemark(String remark) {
        this.remark = remark;
    }

    public String getOrderNo() {
        return orderNo;
    }

    public void setOrderNo(String orderNo) {
        this.orderNo = orderNo;
    }

    public String getPayNo() {
        return payNo;
    }

    public void setPayNo(String payNo) {
        this.payNo = payNo;
    }

    public byte getOrderStatus() {
        return orderStatus;
    }

    public void setOrderStatus(byte orderStatus) {
        this.orderStatus = orderStatus;
    }

    public BigDecimal getFreightFee() {
        return freightFee;
    }

    public void setFreightFee(BigDecimal freightFee) {
        this.freightFee = freightFee;
    }

    public Date getPayTime() {
        return payTime;
    }

    public void setPayTime(Date payTime) {
        this.payTime = payTime;
    }

    public String getNickName() {
        return nickName;
    }

    public void setNickName(String nickName) {
        this.nickName = nickName;
    }

    public String getPhone() {
        return phone;
    }

    public void setPhone(String phone) {
        this.phone = phone;
    }

    public String getPayType() {
        return payType;
    }

    public void setPayType(String payType) {
        this.payType = payType;
    }

    public Date getCreateTime() {
        return createTime;
    }

    public void setCreateTime(Date createTime) {
        this.createTime = createTime;
    }

    public List<OrderGoodsDetailsResponse> getOrderGoodsDetailsResponse() {
        return orderGoodsDetailsResponse;
    }

    public void setOrderGoodsDetailsResponse(List<OrderGoodsDetailsResponse> orderGoodsDetailsResponse) {
        this.orderGoodsDetailsResponse = orderGoodsDetailsResponse;
    }

    public BigDecimal getPayAmount() {
        return payAmount;
    }

    public void setPayAmount(BigDecimal payAmount) {
        this.payAmount = payAmount;
    }

    public String getReceiverName() {
        return receiverName;
    }

    public void setReceiverName(String receiverName) {
        this.receiverName = receiverName;
    }

    public String getReceiverPhone() {
        return receiverPhone;
    }

    public void setReceiverPhone(String receiverPhone) {
        this.receiverPhone = receiverPhone;
    }

    public String getReceiverAddress() {
        return receiverAddress;
    }

    public void setReceiverAddress(String receiverAddress) {
        this.receiverAddress = receiverAddress;
    }
}
